#include <ImfInputFile.h>
#include <ImfOutputFile.h>

#include <LLIIO/Image.h>

class EXRImage : public Image
{
public:

    EXRImage() ;

    ~EXRImage() ;

    bool Open( const char * szPath ) ;

    int GetWidth() const ;

    int GetHeight() const ;

    void Close() ;

private:

    boost::shared_ptr<Imf::InputFile> m_pInputFile ;

    boost::shared_ptr<Imf::OutputFile> m_pOutputFile ;
};
